package introToJava;

import java.util.Scanner;

public class try1 {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int max = Integer.MIN_VALUE;
        int min = Integer.MAX_VALUE;
        System.out.println("enter 5 numbers : ");
        for(int i=1; i<=5; i++){
        	
            int num = input.nextInt();

            if (max<num)
                 max = num;
            
        }
        System.out.println(max+" is the largest");
       

      }


  }